package com.cxyd.modules.wms.dao;

import com.cxyd.common.dao.BaseDao;
import com.cxyd.modules.wms.dto.po.LocatePo;
import com.cxyd.modules.wms.entity.LocateEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 货位信息
 *
 * @author g_Cycle gengruyi01@163.com
 * @since 1.0.0 2023-04-27
 */
@Mapper
public interface LocateDao extends BaseDao<LocateEntity> {
    void batchSave(@Param("locates") List<LocateEntity> locates);
    int occupy(LocatePo locatePo);
}